﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// 日期时间
    /// </summary>
    /// <remarks>
    /// struct	_scp_time_t
    /// {
    /// 	u_int32_t			hour;			/*时*/
    /// 	u_int32_t			min;			/*分*/
    /// 	u_int32_t			sec;			/*秒*/
    /// } PACKED;
    /// typedef	struct	_scp_time_t	
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_TIME_T
    {
        /// <summary>
        /// 时
        /// </summary>
        public UInt32 hour;

        /// <summary>
        /// 分
        /// </summary>
        public UInt32 min;

        /// <summary>
        /// 秒
        /// </summary>
        public UInt32 sec;
    }
}
